//
//  WXPAuthCameraView.h
//  MexicoLoan
//
//  Created by wxp on 2025/2/28.
//

#import <UIKit/UIKit.h>
#import "WXPAuthExamplePopupView.h"

NS_ASSUME_NONNULL_BEGIN

@interface WXPAuthCameraView : UIView

@property (nonatomic, strong) UIView      * viewBack;
@property (nonatomic, strong) UILabel     * labelTitle;
@property (nonatomic, strong) UIImageView * imageBg;
@property (nonatomic, strong) UIButton    * btnCamera;
@property (nonatomic, strong) UILabel     * labelContent;
// 正确
@property (nonatomic, strong) UIButton    * btnSuccess;
// 错误
@property (nonatomic, strong) UIImageView * viewFail;
@property (nonatomic, strong) UIImageView * imageFail;;
@property (nonatomic, strong) UIButton    * btnFail;
// 回显
@property (nonatomic, strong) UIImageView * viewPreview;

// 样例弹窗
@property (nonatomic, strong) WXPAuthExamplePopupView * examplePopupView;

@property (nonatomic, copy)void(^blockTakePhoto)(void);


- (void)resetViewWithShowSuccess:(UIImage *)image;
- (void)resetViewWithShowFail:(UIImage *)image;
// 显示指引 View
- (void)showExamplePopupView;


@end

NS_ASSUME_NONNULL_END
